﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<TVXD23.Web.Models.ViewModel.EmployeesModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Chi tiết
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<link href="../../Content/css/commonCss.css" rel="stylesheet" type="text/css" />
<link href="../../Content/css/HRMCss.css" rel="stylesheet" type="text/css" />
    <h2>Thông tin chi tiết nhân viên</h2>

   <%-- <fieldset >
        <legend>Thông tin</legend>--%>
        <div id="detailEmployee">
            <div id="imageDiv">
                <div>
                        <img src="/Content/images/anh3x4/<%: Model.ShortImage %>" width="180" height="140" />
                 </div>
                 <br />
                 <div style="margin:5px;">
                       <a href="/HRM/DetailsEmpl/<%: Model.employeeId %>">    <%: Model.FullName %></a>
                 </div>
            </div>

            <div id="infoDiv">
                 <table width="66%" cellpadding="0" cellspacing="0">                
              
                     <tr>
                        <th style="width:20%;">  <div class="display-label">Họ và tên:</div></th>
                        <th style="width:60%;"><div class="display-field"><%: Model.FullName %></div></th>   
                     </tr>
                      <tr> 
                         <th style="width:20%;"> <div class="display-label">Giới tính:</div></th>
                        <th style="width:60%;">  <div class="display-field"><%: Model.Sex %></div></th>
                      </tr>
                      <tr>
                        <th style="width:20%;"> <div class="display-label">Ngày sinh:</div></th>
                        <th style="width:60%;"> <div class="display-field"><%: Model.Birthdate%></div></th>
                      </tr>
                       <tr>
                         <th style="width:20%;"><div class="display-label">Số ĐT:</div></th>
                        <th style="width:60%;"> <div class="display-field"><%: Model.PhoneNumber %></div></th>
                      </tr>
                       <tr>        
                         <th style="width:20%;"><div class="display-label">Địa chỉ:</div></th>
                        <th style="width:60%;"> <div class="display-field"><%: Model.Address %></div></th>
                      </tr>
                       <tr>
                         <th style="width:20%;"> <div class="display-label">Email:</div></th>
                        <th style="width:60%;"><div class="display-field"><%: Model.Email %></div></th>
                      </tr>             
                  
                              
                 </table>
        
            </div>
            
        </div>

         <table width="94%" cellpadding="0" cellspacing="0">
            
               <tr >
                 <th style="width:20%;"> <div class="display-label">Kỹ năng:</div></th>
                <th style="width:75%;"> <div class="display-field"><%: Model.Skills %></div></th>
              </tr>
               <tr >        
                 <th style="width:20%;">  <div class="display-label">Ngôn ngữ:</div></th>
                <th style="width:75%;"> <div class="display-field"><%: Model.Languages %></div></th>
              </tr>
               <tr >
                 <th style="width:20%;">  <div class="display-label">Giáo dục:</div></th>
                <th style="width:75%;"><div class="display-field"><%: Model.Educations %></div></th>
              </tr >
               <tr >
                 <th style="width:20%;"><div class="display-label">Kinh nghiệm làm việc:</div></th>
                <th style="width:75%;"> <div class="display-field"><%: Model.WorkExperiences %></div></th>
              </tr>
               <tr >
                 <th style="width:20%;"> <div class="display-label">Nghề nghiệp:</div></th>
                <th style="width:75%;"> <div class="display-field"><%: Model.Jobs %></div></th>
              </tr>
               <tr >
                 <th style="width:20%;"> <div class="display-label">Thuộc phòng:</div></th>
                <th style="width:75%;"> <div class="display-field"><a href="/HRM/DetailsDepart/<%: Model.departmentId %>"><%: Model.NameDepartment %></a></div></th>
              </tr>
                            
        </table>
        
   <%-- </fieldset>--%>
    <p>
        <%: Html.ActionLink("Sửa thông tin", "EditEmpl", new {  id=Model.employeeId  })%> |
        <%: Html.ActionLink("Quay về danh sách", "ListEmp", new { id = Model.departmentId })%>
    </p>

</asp:Content>

